from likeshop_api_project.base.mybase import Tools


# 获取地区
class get_region_model(Tools):
    path = '/api/region/lists'

    def get_region_action(self):
        get_region_data = {
        }
        get_region = self.huihua.get(url=self.hosturl+self.path, params=get_region_data)
        return get_region.json()


if __name__ == '__main__':
    import requests
    s = requests.session()
    get_region = get_region_model(huihua=s)
    msg = get_region.get_region_action()
    print(msg)
